
/* 边距边框字体垂直对齐 */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* 语义标签转换为块元素 */
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* 默认行高1倍 */
body {
	line-height: 1;
}
/* 清除项目符号 */
ol, ul {
	list-style: none;
}
/* 引号类型 */
blockquote, q {
	quotes: none;
}
/* 解决图片3px见习 */
img{
	display: block;
}
/* 取消边框 */
input{
	border: 0;
	background: 0;
	outline: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* 合并表格边框，距离0 */
table {
	border-collapse: collapse;
	border-spacing: 0;
}


/* a标签颜色下划线 */
a{
	text-decoration: none;
	outline: none;
}


/* 高度塌陷和外边距重叠 */
.clearfix::before,
.clearfix::after{
    content: '';
    display: table;
    clear: both;
}


/* 设置省略号 */
.omit{
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}